﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A89 RID: 2697
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LobbyModifyPlayerInfoScRsp : IMessage<LobbyModifyPlayerInfoScRsp>, IMessage, IEquatable<LobbyModifyPlayerInfoScRsp>, IDeepCloneable<LobbyModifyPlayerInfoScRsp>, IBufferMessage
	{
		// Token: 0x1700220E RID: 8718
		// (get) Token: 0x060078B4 RID: 30900 RVA: 0x00142698 File Offset: 0x00140898
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LobbyModifyPlayerInfoScRsp> Parser
		{
			get
			{
				return LobbyModifyPlayerInfoScRsp._parser;
			}
		}

		// Token: 0x1700220F RID: 8719
		// (get) Token: 0x060078B5 RID: 30901 RVA: 0x0014269F File Offset: 0x0014089F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LobbyModifyPlayerInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002210 RID: 8720
		// (get) Token: 0x060078B6 RID: 30902 RVA: 0x001426B1 File Offset: 0x001408B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LobbyModifyPlayerInfoScRsp.Descriptor;
			}
		}

		// Token: 0x060078B7 RID: 30903 RVA: 0x001426B8 File Offset: 0x001408B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyModifyPlayerInfoScRsp()
		{
		}

		// Token: 0x060078B8 RID: 30904 RVA: 0x001426C0 File Offset: 0x001408C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyModifyPlayerInfoScRsp(LobbyModifyPlayerInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060078B9 RID: 30905 RVA: 0x001426E5 File Offset: 0x001408E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyModifyPlayerInfoScRsp Clone()
		{
			return new LobbyModifyPlayerInfoScRsp(this);
		}

		// Token: 0x17002211 RID: 8721
		// (get) Token: 0x060078BA RID: 30906 RVA: 0x001426ED File Offset: 0x001408ED
		// (set) Token: 0x060078BB RID: 30907 RVA: 0x001426F5 File Offset: 0x001408F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060078BC RID: 30908 RVA: 0x001426FE File Offset: 0x001408FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LobbyModifyPlayerInfoScRsp);
		}

		// Token: 0x060078BD RID: 30909 RVA: 0x0014270C File Offset: 0x0014090C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LobbyModifyPlayerInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060078BE RID: 30910 RVA: 0x0014273C File Offset: 0x0014093C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060078BF RID: 30911 RVA: 0x0014277B File Offset: 0x0014097B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060078C0 RID: 30912 RVA: 0x00142783 File Offset: 0x00140983
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060078C1 RID: 30913 RVA: 0x0014278C File Offset: 0x0014098C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060078C2 RID: 30914 RVA: 0x001427C0 File Offset: 0x001409C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060078C3 RID: 30915 RVA: 0x001427FE File Offset: 0x001409FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LobbyModifyPlayerInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060078C4 RID: 30916 RVA: 0x0014282F File Offset: 0x00140A2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060078C5 RID: 30917 RVA: 0x00142838 File Offset: 0x00140A38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002E2A RID: 11818
		private static readonly MessageParser<LobbyModifyPlayerInfoScRsp> _parser = new MessageParser<LobbyModifyPlayerInfoScRsp>(() => new LobbyModifyPlayerInfoScRsp());

		// Token: 0x04002E2B RID: 11819
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002E2C RID: 11820
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04002E2D RID: 11821
		private uint retcode_;
	}
}
